package imper.engine.util;

import imper.engine.entity.Country;

public class CountryUtil
{
  public static Country initCountry(Integer pId, String pName)
  {
    Country country = new Country();
    country.setId(pId);
    country.setName(pName);
    country.setResourceStock(new ResourceManager());
    country.getResourceStock().init();
    country.setResourceProd(new ResourceManager());
    country.getResourceProd().init();
    country.setResourceTransportReal(new ResourceManager());
    country.getResourceTransportReal().init();
    country.setResourceTransportCalc(new ResourceManager());
    country.getResourceTransportCalc().init();
    return country;
  }
}
